package edu.rmit.util;

import java.text.SimpleDateFormat;
import java.util.Calendar;

/**
 * A utility class to implement the date operation.
 * @author Joey George
 *
 */
public class CalendarUtil {
	
	public final static String dateFormatStr = "yyyy-MM-dd";

	public static String valueof(Calendar date) {
		return new SimpleDateFormat(dateFormatStr).format(date.getTime());
	}
}
